package com.zhuqi.common.constans;

/**
 * @author : ZhuQi
 * @version : 时间:2021/12/7 14:15 版本:
 * @description : Response 返回公共常量
 */
public enum ResponseResultEnum {
    /**
     * 请求成功
     */
    SUCCESS(200,"请求成功"),

    /**
     * 请求失败
     */
    FAIL(500,"请求失败")
    ;
    private Integer code;

    private String info;



    ResponseResultEnum( Integer code,String info) {
        this.info = info;
        this.code = code;
    }

    ResponseResultEnum() {
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
